﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yunzuan.Foundation.Attributes;
using Yunzuan.Foundation.Entities;

namespace CloudDiamonds.Models.DBModels
{
    [Table(TableName = "yz_customer_design", PrimaryKey = "ID")]
    public class CustomerDesign : BaseEntity
    {
        public CustomerDesign()
        { }
        #region Model
        private int _id;
        /// <summary>
        ///ID
        /// </summary>
        public int ID
        {
            get { return _id; }
            set { this.ChangeNotify<int>("ID", value, ref _id); }
        }
        private string _img;
        /// <summary>
        ///图片
        /// </summary>
        public string Img
        {
            get { return _img; }
            set { this.ChangeNotify<string>("Img", value, ref _img); }
        }
        private string _title;
        /// <summary>
        ///主题
        /// </summary>
        public string Title
        {
            get { return _title; }
            set { this.ChangeNotify<string>("Title", value, ref _title); }
        }
        private string _description;
        /// <summary>
        ///描述
        /// </summary>
        public string Description
        {
            get { return _description; }
            set { this.ChangeNotify<string>("Description", value, ref _description); }
        }
        private DateTime _createtime;
        /// <summary>
        ///时间
        /// </summary>
        public DateTime CreateTime
        {
            get { return _createtime; }
            set { this.ChangeNotify<DateTime>("CreateTime", value, ref _createtime); }
        }
        #endregion

    }
}
